//
//  NSString+TextSize.h
//  WeiNingProject
//
//  Created by tianjians on 2018/11/29.
//  Copyright © 2018年 卫宁数据. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface NSString (TextSize)

//根据宽求高
+(CGSize)getStrSize:(NSString*)text andWidth:(CGFloat)w andFontSize:(CGFloat)fontsize;

//根据高求宽
+(CGSize)getStrSize:(NSString*)text andHeight:(CGFloat)h andFontSize:(CGFloat)fontsize;
@end
